<?php /* Smarty version 2.6.18, created on 2009-02-28 10:13:34
         compiled from role.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'webcontrol', 'role.html', 9, false),array('function', 'url', 'role.html', 25, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户角色管理</title>
<link href="templates/admin/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <?php echo $this->_plugins['function']['webcontrol'][0][0]->_pi_func_webcontrol(array('type' => 'menu','name' => 'mymenu'), $this);?>

<div>
	<div class="list">
		<div class="title_list_note">权限列表</div>
<?php $_from = $this->_tpl_vars['role']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['listitem']):
?>
<div class="info">
			<ul>
			<li class="list_note">
			<div class="title_note" style="width:60px;">&nbsp;<?php echo $this->_tpl_vars['listitem']['role_id']; ?>
</div>
			<div class="title_note" style="width:120px;">&nbsp;<?php echo $this->_tpl_vars['listitem']['rolename']; ?>
</div>
			<div class="title_note" style="width:60px;">&nbsp;<a href="?controller=role&action=delrole&role_id=<?php echo $this->_tpl_vars['listitem']['role_id']; ?>
">删除</a></div>
		</li>
</ul>
</div>
<?php endforeach; endif; unset($_from); ?>
</div>
<form action="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'role','action' => 'addrole'), $this);?>
" method="post">
<div class="update_record" style="padding-left:10px; width:200px;">
	<p>角色：<input type="text" name="name" value="" /></p>
	<input type="submit" onfocus="this.blur()" tabindex="2" id="editorFormBtn" class="subbutton" value="提交"/>
	<input type="reset" onfocus="this.blur()" tabindex="2" id="editorFormBtn" class="subbutton" value="取消"/>
	</p>
</div>
</div>
</form>
</body>
</html>